+2007-01-22 Øyvind Kolås <pippin@gimp.org>
+
+ * babl/babl-internal.h: applied patch from Tim Mooney fixing bug
+ #392843, replacing _FUNCTION_ with _func_ which is the C99 equivalent
+ of the gcc extension.
+
2007-01-16 Michael Schumacher <schumaml@cvs.gnome.org>
* configure.ac: remove the check for dlopen again - didn't work as
}
#define babl_log(args...) \
- real_babl_log(__FILE__, __LINE__, __FUNCTION__, args)
+ real_babl_log(__FILE__, __LINE__, __func__, args)
#define babl_fatal(args...) do{ \
- real_babl_log(__FILE__, __LINE__, __FUNCTION__, args);\
+ real_babl_log(__FILE__, __LINE__, __func__, args);\
babl_die();} \
while(0)
babl = babl_db_exist (db, id, NULL); \
if (!babl) \
{ \
- babl_fatal ("%s(%i): not found", __FUNCTION__, id); \
+ babl_fatal ("%s(%i): not found", __func__, id); \
} \
return babl; \
}
\
if (babl_hmpf_on_name_lookups) \
{ \
- babl_log ("%s(\"%s\"): hmpf!", __FUNCTION__, name); \
+ babl_log ("%s(\"%s\"): hmpf!", __func__, name); \
} \
babl = babl_db_exist (db, 0, name); \
\
if (!babl) \
{ \
- babl_fatal ("%s(\"%s\"): not found", __FUNCTION__, name); \
+ babl_fatal ("%s(\"%s\"): not found", __func__, name); \
} \
return babl; \
}